Microsoft DirectX 8.1 (C++)

CSourceSeeking::SetRate

The SetRate method sets the playback rate. This method implements the IMediaSeeking::SetRate method.

Syntax

HRESULT SetRate(
    double dRate
);

Parameters

dRate

Playback rate.

Return Value

Returns an HRESULT value.

Remarks

This method updates the value of the CSourceSeeking::m_dRateSeeking member variable, and then calls the pure virtual method CSourceSeeking::ChangeRate. The method does not validate the dRate parameter.

See Also